package com.car.account.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.car.account.controller.form.storesEntryForm.EntryApplicationForm;
import com.car.account.controller.form.storesEntryForm.OverruleApplicationForm;
import com.car.account.dto.storesEntryDto.StoresEntryByIdDto;
import com.car.account.dto.storesEntryDto.StoresEntryDto;
import com.car.account.entity.StoresEntryApplication;
import com.baomidou.mybatisplus.extension.service.IService;
import com.car.account.param.storesEntryParam.AdminSelectEntryParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
public interface StoresEntryApplicationService extends IService<StoresEntryApplication> {

    Page<StoresEntryDto> adminSelectStoresEntryDto(AdminSelectEntryParam param)throws Exception;

    StoresEntryByIdDto adminSelectById(Integer adminId, Integer applicationId)throws Exception;

    void entryApplication(EntryApplicationForm form)throws Exception;

    void passApplicationById(Integer adminId, Integer applicationId)throws Exception;

    void overruleApplicationById(Integer adminId, OverruleApplicationForm form)throws Exception;
}
